package com.hmyuan.domain;

import java.io.Serializable;
import java.util.Date;

public class Sys_user  implements Serializable{
	
	private static final long serialVersionUID = 26771538544L;
	
    private Long id;

    private String username;
    private String usernameLike;

    private String accountname;
    private String accountnameLike;

    private String password;

    private String credentialssalt;

    private String description;

    private String status;

    private Date createtime;

    private Integer deletestatus;

    private Integer isadmin;

    private Long[] ids;
    private Long[] roleIds;
    private Long[] resourcesIds;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getAccountname() {
        return accountname;
    }

    public void setAccountname(String accountname) {
        this.accountname = accountname == null ? null : accountname.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getCredentialssalt() {
        return credentialssalt;
    }

    public void setCredentialssalt(String credentialssalt) {
        this.credentialssalt = credentialssalt == null ? null : credentialssalt.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getDeletestatus() {
        return deletestatus;
    }

    public void setDeletestatus(Integer deletestatus) {
        this.deletestatus = deletestatus;
    }

    public Integer getIsadmin() {
        return isadmin;
    }

    public void setIsadmin(Integer isadmin) {
        this.isadmin = isadmin;
    }

	public Long[] getIds() {
		return ids;
	}

	public void setIds(Long[] ids) {
		this.ids = ids;
	}

	public String getUsernameLike() {
		return usernameLike;
	}

	public void setUsernameLike(String usernameLike) {
		this.usernameLike = usernameLike;
	}

	public String getAccountnameLike() {
		return accountnameLike;
	}

	public void setAccountnameLike(String accountnameLike) {
		this.accountnameLike = accountnameLike;
	}

	public Long[] getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(Long[] roleIds) {
		this.roleIds = roleIds;
	}

	public Long[] getResourcesIds() {
		return resourcesIds;
	}

	public void setResourcesIds(Long[] resourcesIds) {
		this.resourcesIds = resourcesIds;
	}
    
}